package com.bw.car.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Car {
	
	private Integer id;
	private String cno;//车牌
	private String color;//颜色
	private Double length;//车辆的长度
	private CarType carType ;//车辆的类型
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date inTime;//入庫時間
	private String[] colors;//查询条件
	
	
	
	public String[] getColors() {
		return colors;
	}
	public void setColors(String[] colors) {
		this.colors = colors;
	}
	public Date getInTime() {
		return inTime;
	}
	public void setInTime(Date inTime) {
		this.inTime = inTime;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCno() {
		return cno;
	}
	public void setCno(String cno) {
		this.cno = cno;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public Double getLength() {
		return length;
	}
	public void setLength(Double length) {
		this.length = length;
	}
	public CarType getCarType() {
		return carType;
	}
	public void setCarType(CarType carType) {
		this.carType = carType;
	}

	
	

}
